﻿using Google.Apis.Authentication;

namespace PB138___projekt
{
    /// <summary>
    /// Interface for implementing authenticators.
    /// </summary>
    interface IAuth
    {
        /// <summary>
        /// Gets authenticator.
        /// </summary>
        IAuthenticator Authenticator { get; }

        /// <summary>
        /// Gets type of authenticator.
        /// </summary>
        AuthenticatorType AuthenticatorType { get; }
    }

    /// <summary>
    /// Represents different types of authenticators.
    /// </summary>
    enum AuthenticatorType
    {
        UserAuthenticator, ApplicationAuthenticator
    }
}